import org.kumas.sgrpc.common.extension.AdaptiveClassCodeGenerator;
import org.kumas.sgrpc.remoting.Dispatcher;
import org.kumas.sgrpc.remoting.exchange.Exchanger;

/**
 *
 * @author KumasZhang
 * @version 1.0
 * @since 2021-07-10 21:29
 */
public class AdaptiveCodeGenUtil {

    public static void main(String[] args) {
        Class clazz = Exchanger.class;
        String defaultName = "HeaderExchanger";
        String code = new AdaptiveClassCodeGenerator(clazz, defaultName).generate();;
        System.out.println(code);

    }
}
